package com.molichuxing.gateway.bff.permission.services;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.framework.exception.BizException;
import com.molichuxing.gateway.bff.permission.entity.request.OperationLogCreateVo;
import com.molichuxing.gateway.bff.permission.entity.response.AccountLoginVo;
import com.molichuxing.gateway.bff.permission.entity.response.OperationLogVo;
import com.molichuxing.services.infrastructure.dto.response.request.create.OperationLogCreateDto;

import java.util.Map;

/**
 * 操作日志
 * @author xuelin yi
 */
public interface OperationLogBffService {

	/**
	 * 新增操作日志
	 * @param createVo
	 * @return
	 * @throws Exception
	 */
	public Boolean createOperationLog(OperationLogCreateVo createVo) throws Exception;


	/**
	 * 根据经销商id获取操作日志
	 * @param map
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	public Paged<OperationLogVo> getOperationLogByDealerId(Map<String, Object> map, Integer pageNum, Integer pageSize);
}
